package com.cc.mall.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-11 15:11:54
 */
@Data
@TableName("cc_product_detail")
public class ProductDetailEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 商品详情id
	 */
	@TableId
	private Long id;
	/**
	 * 商品id
	 */
	private Long pid;
	/**
	 * 价格
	 */
	private BigDecimal productPrice;
	/**
	 * 规格
	 */
	private String productSize;
	/**
	 * 默认照片src
	 */
	private String defaultPicture;
	/**
	 * 商品剩余数量
	 */
	private Long productRemainNumber;
}
